# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
#   Mayor.create(name: 'Emanuel', city: cities.first)
Customer.create("name"=>"James Watling", "house_number"=>"58", "street"=>"Barton Road", "city"=>"Upper Hutt", "phone"=>"045287878", "fax"=>"", "email"=>"watling.james@gmail.com", "registration_date"=>"", "person"=>"James Watling", "notes"=>"Best Customer Ever!")
Customer.create("name"=>"Brandon Robins", "house_number"=>"Shop 301", "street"=>"Queensgate", "city"=>"Lower Hutt", "phone"=>"045762123", "fax"=>"045762125", "email"=>"brandon.robins1@me.com", "registration_date"=>"", "person"=>"Brandon's Mum", "notes"=>"Worst Customer Ever!")


Product.create("name"=>"Samsung Galaxy Siii", "barcode"=>"26352763298463278", "serial"=>"AHSK34HKJDS789", "receipt"=>"618-253426543", "purchase_date(1i)"=>"2012", "purchase_date(2i)"=>"4", "purchase_date(3i)"=>"11", "purchase_date(4i)"=>"23", "purchase_date(5i)"=>"41", "value"=>"949")
Product.create("name"=>"iPhone 4S", "barcode"=>"2635276345434636687", "serial"=>"JDKSHF3434", "receipt"=>"618-234234", "purchase_date(1i)"=>"2011", "purchase_date(2i)"=>"3", "purchase_date(3i)"=>"11", "purchase_date(4i)"=>"23", "purchase_date(5i)"=>"41", "value"=>"5.50")
Product.create("name"=>"Samsung Galaxy Sii", "barcode"=>"2635223484632235", "serial"=>"ASDLAS2434", "receipt"=>"618-45345345", "purchase_date(1i)"=>"2011", "purchase_date(2i)"=>"2", "purchase_date(3i)"=>"11", "purchase_date(4i)"=>"23", "purchase_date(5i)"=>"41", "value"=>"500")
Product.create("name"=>"Samsung Galaxy S", "barcode"=>"26234632984623478", "serial"=>"ASDJHKJ4342", "receipt"=>"618-32479834", "purchase_date(1i)"=>"2010", "purchase_date(2i)"=>"8", "purchase_date(3i)"=>"11", "purchase_date(4i)"=>"23", "purchase_date(5i)"=>"41", "value"=>"300")